;
(function () {
    System.register(['./SimpleDialog.vue_vue_type_script_setup_true_lang-legacy-8tjYmIZV.js', './index-legacy-BBSVeb5I.js', './model-form.vue_vue_type_script_setup_true_lang-legacy-Dxg0XZGP.js', './SelectGroup.vue_vue_type_script_setup_true_lang-legacy-DczqbOUF.js', './executor-legacy-BMXoEXle.js', './SimpleInput.vue_vue_type_script_setup_true_lang-legacy-CRUKVKwE.js', './model-legacy-BU3w3-Vj.js', './vue-codemirror.esm-legacy-kFkrhprE.js'], function (exports, module) {
        'use strict';

        var _sfc_main$3, defineComponent, ref, createElementBlock, createBaseVNode, createVNode, withCtx,
            createTextVNode, resolveComponent, _sfc_main$2, isRef, unref, openBlock, _sfc_main$1;
        return {
            setters: [function (module) {
                _sfc_main$3 = module._;
            }, function (module) {
                defineComponent = module.d;
                ref = module.e;
                createElementBlock = module.a;
                createBaseVNode = module.b;
                createVNode = module.q;
                withCtx = module.p;
                createTextVNode = module.v;
                resolveComponent = module.r;
                _sfc_main$2 = module.s;
                isRef = module.y;
                unref = module.u;
                openBlock = module.o;
            }, function (module) {
                _sfc_main$1 = module._;
            }, null, null, null, null, null],
            execute: function execute() {
                var _hoisted_1 = {
                    class: "h-full w-full overflow-y-overlay p-4"
                };
                var _hoisted_2 = {
                    class: "mx-auto w-50% flex flex-col gap-6 rounded-lg bg-base px-10 py-8"
                };
                var _sfc_main = exports("default", /* @__PURE__ */defineComponent({
                    __name: "index",
                    setup: function setup(__props) {
                        var successVisible = ref(false);

                        function handleSuccess() {
                            successVisible.value = true;
                        }

                        return function (_ctx, _cache) {
                            var _component_RouterLink = resolveComponent("RouterLink");
                            var _component_SimpleButton = _sfc_main$2;
                            var _component_SimpleDialog = _sfc_main$3;
                            return openBlock(), createElementBlock("div", _hoisted_1, [createBaseVNode("div", _hoisted_2, [_cache[2] || (_cache[2] = createBaseVNode("div", {
                                class: "text-1.2rem font-600"
                            }, " 创建模型 ", -1)), createVNode(_sfc_main$1, {
                                type: "CREATE",
                                onSuccess: handleSuccess
                            })]), createVNode(_component_SimpleDialog, {
                                modelValue: unref(successVisible),
                                "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
                                    return isRef(successVisible) ? successVisible.value = $event : null;
                                }),
                                class: "flex-center flex-col p-4 !h-50 !w-80"
                            }, {
                                default: withCtx(function () {
                                    return [_cache[7] || (_cache[7] = createBaseVNode("div", {
                                        class: "i-ph:check-circle-duotone mb-3 text-4rem text-green"
                                    }, null, -1)), _cache[8] || (_cache[8] = createBaseVNode("p", null, "模型创建成功", -1)), createBaseVNode("p", null, [_cache[4] || (_cache[4] = createTextVNode(" 请前往 ")), createVNode(_component_RouterLink, {
                                        to: "/model/list",
                                        class: "a-primary"
                                    }, {
                                        default: withCtx(function () {
                                            return _cache[3] || (_cache[3] = [createTextVNode(" 模型库 ")]);
                                        }),
                                        _: 1
                                    }), _cache[5] || (_cache[5] = createTextVNode(" 页面进行查看 "))]), createVNode(_component_SimpleButton, {
                                        type: "primary",
                                        class: "mt-4",
                                        onClick: _cache[0] || (_cache[0] = function ($event) {
                                            return successVisible.value = false;
                                        })
                                    }, {
                                        default: withCtx(function () {
                                            return _cache[6] || (_cache[6] = [createTextVNode(" 好的 ")]);
                                        }),
                                        _: 1
                                    })];
                                }),
                                _: 1
                            }, 8, ["modelValue"])]);
                        };
                    }
                }));
            }
        };
    });
})();
